package com.lxw.nonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 家庭缴费记录表
 * </p>
 *
 * @author lxw
 * @since 2025-05-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_family_payment")
@ApiModel(value = "FamilyPayment对象", description = "家庭缴费记录表")
public class FamilyPayment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("缴费记录ID")
    @TableId(value = "payment_id", type = IdType.AUTO)
    private Integer paymentId;

    @ApiModelProperty("关联家庭ID")
    private Integer familyId;

    @ApiModelProperty("缴费年度")
    private Integer year;

    @ApiModelProperty("缴费人姓名")
    private String payerName;

    @ApiModelProperty("缴费人身份证号")
    private String payerIdCard;

    @ApiModelProperty("缴费总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("缴费时间")
    private Date paymentTime;

    @ApiModelProperty("操作员ID")
    private Integer operatorId;

    @ApiModelProperty("操作员姓名")
    private String operatorName;

    @ApiModelProperty("发票号码")
    private String invoiceNumber;

    @ApiModelProperty("缴费方式")
    private String paymentMethod;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("参合人员名称列表")
    @TableField(exist = false)
    private List<String> nameList;
}
